package com.training.service;

import com.jfinal.plugin.activerecord.Page;
import com.training.common.model.Subject;

import java.util.List;

public class SubjectServiceImp implements SubjectService {
    @Override
    public Page<Subject> getSubjectPage(int pageNumber,int pageSize,String name) {
        return Subject.dao.getSubjectPage(pageNumber,pageSize,name);
    }

    @Override
    public List<Subject> getSubjectList() {
        return Subject.dao.getSubjectList();
    }

    @Override
    public List<Subject> getTrainSubjectList(String subjectids) {
        return Subject.dao.getTrainSubjectList(subjectids);
    }


}
